import 'dart:ffi';

import 'package:flutter_easy_permission/easy_permissions.dart';
import 'package:get/get_rx/src/rx_types/rx_types.dart';
import 'package:pocketfile/common/base/base_controller.dart';
import 'package:pocketfile/common/utlis/permissions_utils.dart';
import 'package:pocketfile/module/root/model/menu_code.dart';

class RootController extends BaseController {
  final _selectedMenuCodeController = MenuCode.HOME.obs;

  MenuCode get selectedMenuCode => _selectedMenuCodeController.value;

  final lifeCardUpdateController = false.obs;

  onMenuSelected(MenuCode menuCode) async {
    _selectedMenuCodeController(menuCode);
  }


  @override
  void onReady() {
    // TODO: implement onReady
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }
}
